package com.ruoyi.device.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备详细信息（NEW）对象 sys_device_new
 * 
 * @author zz
 * @date 2024-04-17
 */
public class SysDeviceNew extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long deviceId;

    /** 设备分类 */
    @Excel(name = "设备分类")
    private Long typeId;

    private SysDeviceType sysDeviceType;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceName;

    /** 设备型号，多个同型号设备，在型号后添加序号 */
    @Excel(name = "设备型号，多个同型号设备，在型号后添加序号")
    private String deviceModel;

    /** 设备照片 */
    @Excel(name = "设备照片")
    private String deviceImg;

    /** 设备说明 */
    @Excel(name = "设备说明")
    private String deviceRemark;

    /** 设备状态，-1废弃，0正常，1借出，2维修 */
    @Excel(name = "设备状态，-1废弃，0正常，1借出，2维修")
    private Integer deviceStatus;

    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setDeviceImg(String deviceImg) 
    {
        this.deviceImg = deviceImg;
    }

    public String getDeviceImg() 
    {
        return deviceImg;
    }
    public void setDeviceRemark(String deviceRemark) 
    {
        this.deviceRemark = deviceRemark;
    }

    public String getDeviceRemark() 
    {
        return deviceRemark;
    }
    public void setDeviceStatus(Integer deviceStatus) 
    {
        this.deviceStatus = deviceStatus;
    }

    public Integer getDeviceStatus() 
    {
        return deviceStatus;
    }

    public SysDeviceType getSysDeviceType() {
        return sysDeviceType;
    }

    public void setSysDeviceType(SysDeviceType sysDeviceType) {
        this.sysDeviceType = sysDeviceType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("typeId", getTypeId())
            .append("deviceName", getDeviceName())
            .append("deviceModel", getDeviceModel())
            .append("deviceImg", getDeviceImg())
            .append("deviceRemark", getDeviceRemark())
            .append("deviceStatus", getDeviceStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
